package com.sicnu.cheer.leaugebar.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.sicnu.cheer.im.fragment.MessageFragment;
import com.sicnu.cheer.im.fragment.NoticeFragment;
import com.sicnu.cheer.leaugebar.R;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by cheer on 2017/1/23.
 * 消息父布局
 */

public class MessageParentFragment extends MainBaseFragment {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return super.onCreateView(inflater, container, savedInstanceState);
    }

    @Override
    protected int setImgId() {
        return R.mipmap.message;
    }

    @Override
    protected Map<String, Fragment> setTitlesAndFragments() {
        Map map=new HashMap();
        map.put("消息",new MessageFragment());
        map.put("通知",new NoticeFragment());
        return map;
    }
}
